package com.firewolf.springboot.main;

import org.springframework.stereotype.Component;

//这里把Student注入到Bean中，用来测试
@Component
public class Student {
	private String name = "张三";
	private Integer age = 34;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
}
